import pandas as pd

series = pd.Series([1,2,3])

# 算术运算
result = series * 2  # 所有元素乘以2
print(result)

# 过滤
filtered_series = series[series > 2]  # 选择大于2的元素
print(filtered_series)

# 数学函数
import numpy as np
result = np.sqrt(series)  # 对每个元素取平方根
print(result)